package com.example.administrator.testxingpiao.ui.main.homepage;

import com.example.administrator.testxingpiao.bean.HomePageBean;
import com.example.administrator.testxingpiao.httputils.HttpUtils;
import com.example.administrator.testxingpiao.mvp.IBaseModel;
import com.example.administrator.testxingpiao.mvp.IBasePresenter;
import com.example.administrator.testxingpiao.mvp.IBaseView;

import java.util.HashMap;

/**
 * Created by Administrator on 2016/8/4.
 */
public class HomePageContract {

    public interface View extends IBaseView {

        void onSuccessGetHomePageBean(HomePageBean homePageBean);

        void onFailGetHomePageBean(String msg);
    }

    public interface Model extends IBaseModel {

        public void getHomePageBean(HashMap<String,String> params, HttpUtils.HttpCallBack<HomePageBean> callBack);

    }

    public interface Presenter extends IBasePresenter {

        public void initData(HashMap<String,String> params);
    }
}
